#pragma once
#include <vector>
#include "StylusPoint.h"
class StylusPointCollection
{
public:
	StylusPointCollection();
	~StylusPointCollection() {}
	void Add(StylusPoint& point);

	int Count() { return m_vctPoints.size(); }

	StylusPoint* GetItem(int index)
	{
		if (index >= 0 && index < Count())
		{
			return &m_vctPoints[index];
		}
		return nullptr;
	}
	void Clear()
	{
		m_vctPoints.clear();
	}
private:
	std::vector<StylusPoint> m_vctPoints;
};